projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cca8345
)
Clean up error message text on Garmin serial ports.
author
robertl
<robertl>
Sun, 12 Nov 2006 23:54:30 +0000
(23:54 +0000)
committer
robertl
<robertl>
Sun, 12 Nov 2006 23:54:30 +0000
(23:54 +0000)
jeeps/gpsserial.c
patch
|
blob
|
history
diff --git
a/jeeps/gpsserial.c
b/jeeps/gpsserial.c
index 78896bfe839c0178e890f08f36537b52bfd008bd..4e90f0939ed1eba74c66293653fd62adfb79da73 100644
(file)
--- a/
jeeps/gpsserial.c
+++ b/
jeeps/gpsserial.c
@@
-305,6
+305,7
@@
void GPS_Serial_Error(const char *mb, ...)
s = msg + b;
*s++ = ':';
*s++ = ' ';
+ *s++ = '\0';
// FormatMessage( FORMAT_MESSAGE_FROM_SYSTEM, 0,
// GetLastError(), 0, s, sizeof(msg) - b - 2, 0 );